package com.lyy.king.auth.mapper;


import com.lyy.king.auth.domain.User;

public interface UserMapper {
    /**
     * 根据Id查询用户
     * @param id
     * @return
     */
    public User findById(Integer id);

    /**
     * 根据用户名查询用户
     * @param username
     * @return
     */
    User findUserByUsername(String username);
}
